home *** CD-ROM | disk | FTP | other *** search
- Subject: Re: Virtual key up events
- Sent: 6/4/96 11:28 AM
- Received: 6/4/96 11:41 AM
- From: Erlend Stav, estav@stud.unit.no
- Reply-To: ODF Interest, ODF-Interest@CILabs.ORG
- To: OpenDoc Development Framework Discussion List, ODF-Interest@CILabs.
-
- >At 10:42 AM 6/4/96, Damon Cokenias wrote:
- >[how to get KeyUp events]
- >
- >While you can cause the MacOS to generate keyup events, note that this will
- >be process-wide, causing *all* parts to recieve them. Most will probably
- >ignore them, but it can still cause problems. To avoid problems, enable the
- >keyups only when you get the keyboard focus and reset it to the previous
- >value when you lose that focus.
- >
- >In this case it's possible to avoid conflicts, but not always (like the
- >current color manager palette). In general it's better to avoid situations
- >which require changing process-wide flags.
- >
-
- In fact, I was just writing a question about a similiar solution. I guess
- there is
- some parts around the that would not be too well-behaved if they got key-up
- events.
-
- Which leads to my next question; as this is an issue that could lead to
- cross-platform
- incompatibility, wouldn´t it be better if ODF handled this issue for us,
- either by
- always ensuring that key-up events is enabled while we have keyboard focus, or
- by providing a function to turn key-up on/off in a cross platform way and with
- a default setting?
-
- - Erlend
-
- --------------------------------------------------------------
- Erlend Stav Ph. SINTEF : 22067441 (Tue - Thu)
- Hans Osnes v. 8 Ph. IFI/NTNU : 73591844 (Mon & Fri)
- N-7030 Trondheim Ph. Home : 73945382 (Fri - Mon)
- NORWAY E-mail : erlend.stav@ifi.ntnu.no
-
-